package cn.alcode.cardservice.service;

import cn.alcode.cardservice.model.PageRequestParam;
import cn.alcode.cardservice.model.Student;
import com.alibaba.fastjson.JSONObject;

public interface EcCardService{
    Long doAddOrg(String name, String parentDid);

    void doUpdateOrg(String name, String did, String parentDid);

    void doDeleteOrg(String did);

    Long doAddPerson(Student student);

    void doUpdatePerson(Student student);

    void doDeletePerson(String cid);

    Integer doAddRechargeRecord(String qcls, String studentCid, String totalAmount, String type, String qdate);

    JSONObject queryTransaction(PageRequestParam page, String studentId);

    String queryBalance(String cid);
}
